package corrida.stack;

public class StackNode {
	private String info;
	private StackNode next;
	
	StackNode(String info) {
		this.info = info;
		this.next = null;
	}

	public String getInfo() {
		return info;
	}

	public void setInfo(String info) {
		this.info = info;
	}

	public StackNode getNext() {
		return next;
	}

	public void setNext(StackNode next) {
		this.next = next;
	}
}